﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

using transportsystem.DTO;
using transportsystem.DAO;

namespace transportsystem.BUS
{
    public class KhachHangBUS
    {
        public static DataTable getKhachHangList(params SqlParameter[] Params)
        {
            return KhachHangDAO.getKhachHangList(Params);
        }
        public static DataTable getLoaiKhachHangList()
        {
            return KhachHangDAO.getLoaiKhachHangList();
        }
        public static DataTable getKhachHangID(params SqlParameter[] Params)
        {
            return KhachHangDAO.getKhachHangID(Params);
        }
        public static int getThaoTacKhachHang(params SqlParameter[] Params)
        {
            return KhachHangDAO.thaoTacKhachHang(Params);
        }
        public static bool deleteKhachHang(KhachHang kh)
        {
            return KhachHangDAO.deleteKhachHang(kh);
        }
        public static bool updateSoLanMuaVe(params SqlParameter[] Params)
        {
            return KhachHangDAO.updateSoLanMuaVe(Params);
        }
        public static DataSet getKhachHangList2(params SqlParameter[] Params)
        {
            return KhachHangDAO.getKhachHangList2(Params);
        }
        public static bool updateSoLanHuyVe(params SqlParameter[] Params)
        {
            return KhachHangDAO.updateSoLanHuyVe(Params);
        }

    }
}
